#ifndef DOUBLE_LIST
#define DOUBLE_LIST

#include <assert.h>
#include <time.h>
#include <iostream>
#include <vector>

using namespace std;


class doubleList{

private:
	vector<double>*dList;

public:
	doubleList();
	~doubleList();

	double * vectortoarray();					/* 1 Grigoropoulos Panagiotis */
	bool insertTo(int , double );				/* 2 Antonopoulos Spyridon    */
	void add_after(int, double );				/* 3 Sakellari Elisavet		  */
	int substractList( int, double );			/* 4 Antoniadis Anastasios    */
	int  insert_rand(double);					/* 5 Sakellari Elisavet		  */
	bool remove_ifNumInPos(int , double);		/* 6 Antonopoulos Spyridon    */
	double * erasenum();						/* 7 Grigoropoulos Panagiwtis */
    void reverseList();							/* 8 Antoniadis Anastasios    */

};

#endif /*DOUBLE_LIST*/